package cn.edu.zut.cs.Business;

import cn.edu.zut.cs.Model.Checkapply;
import cn.edu.zut.cs.Model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckapplyService {
    int addfirendcheck(@Param("requestper") String requestper, @Param("reponsedper") String reponsedper);

    //查询申请者 表checkapply
    List<User> queryByreponsedper(String reponsedper);

    //查询出被申请者
    List<Checkapply> query(String reponsedper);

    //通过验证
    int updateanwserper(@Param("requestper") String requestper,@Param("reponsedper") String reponsedper,@Param("answerper")String answerper);

}
